<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>客户服务管理系统</title>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <script>
      (function(w) {
        var _doc = w.document;
        var _docEle = _doc.documentElement;
        var _docWidth = _docEle.getBoundingClientRect().width;
        var _scale = _docWidth / 1920;
        document.documentElement.style.width = _docWidth + 'px'
        document.documentElement.style.margin = '0 auto'
        _docEle.style.fontSize = (_scale * 100) + 'px';
        w.onload = function() {
            var nWidth;
            if (_docWidth !== (nWidth = document.documentElement.getBoundingClientRect().width)) {
                document.documentElement.style.fontSize = (nWidth / 1920 * 100) + 'px';
            };
        }
      })(window);
    </script>
    <!-- built files will be auto injected -->
  </body>
</html>
